# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
    [
       'appMain.py',
       'myDelegates.py',
       'myMainWindow.py',
       'res_rc.py',
       'ui_MainWindow.py',
       'eng_ui_MainWindow.py',
       'AddDrawing.py',
       'production_record.py'
    ],
    pathex=["E:\桌面\mold_management"],
    binaries=[],
    datas=[('resources/moldManagement.db3','.')],
    hiddenimports=["importlib_resources.trees"],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    noarchive=False,
    optimize=0,
)
pyz = PYZ(a.pure)

exe = EXE(
    pyz,
    a.scripts,
    [],
    exclude_binaries=True,
    name='JFMOLD',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
    icon='resources/mainico.png'  # 设置图标文件路径
)
coll = COLLECT(
    exe,
    a.binaries,
    a.datas,
    strip=False,
    upx=True,
    upx_exclude=[],
    name='JFMOLD',
)
